/**
 * com.cnhis.his.customer.mapper.Acc1.java
 */
package com.mbmed.doctor.homepage.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Acc1.java
 * @author 刘武
 * @version 0.1
 * @todo	Acc1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-24 03:43:05
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Acc1 extends BaseVO implements java.io.Serializable{

	private java.lang.String acc01;
	private java.lang.String acc02;
	private java.lang.String acc03;
	private java.lang.String acc04;
	private java.lang.String acc05;
	private java.lang.String acc06;
	private java.math.BigDecimal acc07;
	private java.lang.Integer rownr;
	private java.lang.Byte isdef;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	public Acc1(){
	}

	public Acc1(
		java.lang.String acc01
	){
		this.acc01 = acc01;
	}



	public void setAcc01(java.lang.String value) {
		this.acc01 = value;
	}	
	public java.lang.String getAcc01() {
		return this.acc01;
	}

	public void setAcc02(java.lang.String value) {
		this.acc02 = value;
	}	
	public java.lang.String getAcc02() {
		return this.acc02;
	}

	public void setAcc03(java.lang.String value) {
		this.acc03 = value;
	}	
	public java.lang.String getAcc03() {
		return this.acc03;
	}

	public void setAcc04(java.lang.String value) {
		this.acc04 = value;
	}	
	public java.lang.String getAcc04() {
		return this.acc04;
	}

	public void setAcc05(java.lang.String value) {
		this.acc05 = value;
	}	
	public java.lang.String getAcc05() {
		return this.acc05;
	}

	public void setAcc06(java.lang.String value) {
		this.acc06 = value;
	}	
	public java.lang.String getAcc06() {
		return this.acc06;
	}

	public void setAcc07(java.math.BigDecimal value) {
		this.acc07 = value;
	}	
	public java.math.BigDecimal getAcc07() {
		return this.acc07;
	}

	public void setRownr(java.lang.Integer value) {
		this.rownr = value;
	}	
	public java.lang.Integer getRownr() {
		return this.rownr;
	}

	public void setIsdef(java.lang.Byte value) {
		this.isdef = value;
	}	
	public java.lang.Byte getIsdef() {
		return this.isdef;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Acc01").append("='").append(getAcc01()).append("' ");	
			   buffer.append("Acc02").append("='").append(getAcc02()).append("' ");	
			   buffer.append("Acc03").append("='").append(getAcc03()).append("' ");	
			   buffer.append("Acc04").append("='").append(getAcc04()).append("' ");	
			   buffer.append("Acc05").append("='").append(getAcc05()).append("' ");	
			   buffer.append("Acc06").append("='").append(getAcc06()).append("' ");	
			   buffer.append("Acc07").append("='").append(getAcc07()).append("' ");	
			   buffer.append("Rownr").append("='").append(getRownr()).append("' ");	
			   buffer.append("Isdef").append("='").append(getIsdef()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Acc1) ) return false;
		 Acc1  castOther = ( Acc1) other;  
		 return 
					( (this.getAcc01()==castOther.getAcc01()) ||( this.getAcc01()!=null && castOther.getAcc01()!=null && this.getAcc01().equals(castOther.getAcc01()) ) )
					&&( (this.getAcc02()==castOther.getAcc02()) ||( this.getAcc02()!=null && castOther.getAcc02()!=null && this.getAcc02().equals(castOther.getAcc02()) ) )
					&&( (this.getAcc03()==castOther.getAcc03()) ||( this.getAcc03()!=null && castOther.getAcc03()!=null && this.getAcc03().equals(castOther.getAcc03()) ) )
					&&( (this.getAcc04()==castOther.getAcc04()) ||( this.getAcc04()!=null && castOther.getAcc04()!=null && this.getAcc04().equals(castOther.getAcc04()) ) )
					&&( (this.getAcc05()==castOther.getAcc05()) ||( this.getAcc05()!=null && castOther.getAcc05()!=null && this.getAcc05().equals(castOther.getAcc05()) ) )
					&&( (this.getAcc06()==castOther.getAcc06()) ||( this.getAcc06()!=null && castOther.getAcc06()!=null && this.getAcc06().equals(castOther.getAcc06()) ) )
					&&( (this.getAcc07()==castOther.getAcc07()) ||( this.getAcc07()!=null && castOther.getAcc07()!=null && this.getAcc07().equals(castOther.getAcc07()) ) )
					&&( (this.getRownr()==castOther.getRownr()) ||( this.getRownr()!=null && castOther.getRownr()!=null && this.getRownr().equals(castOther.getRownr()) ) )
					&&( (this.getIsdef()==castOther.getIsdef()) ||( this.getIsdef()!=null && castOther.getIsdef()!=null && this.getIsdef().equals(castOther.getIsdef()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getAcc01() == null ? 0 : this.getAcc01().hashCode() );
				  result = 37 * result + (getAcc02() == null ? 0 : this.getAcc02().hashCode() );
				  result = 37 * result + (getAcc03() == null ? 0 : this.getAcc03().hashCode() );
				  result = 37 * result + (getAcc04() == null ? 0 : this.getAcc04().hashCode() );
				  result = 37 * result + (getAcc05() == null ? 0 : this.getAcc05().hashCode() );
				  result = 37 * result + (getAcc06() == null ? 0 : this.getAcc06().hashCode() );
				  result = 37 * result + (getAcc07() == null ? 0 : this.getAcc07().hashCode() );
				  result = 37 * result + (getRownr() == null ? 0 : this.getRownr().hashCode() );
				  result = 37 * result + (getIsdef() == null ? 0 : this.getIsdef().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
         return result;
	} 
	
}
